<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title>新增试卷</title>
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/theme.css">
<link rel="stylesheet"
	href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
	type="text/javascript"></script>
</head>

<body class="content1">
	<div class="header">
		<h1 class="page-title">新增试卷</h1>
	</div>

	<ul class="breadcrumb">
		<li><a href="index.html">试卷管理</a> <span class="divider">/</span>
		</li>
		<li class="active">新增多选题</li>
	</ul>

	<div class="container-fluid">
		<div class="row-fluid">
			<form method="post" action="<%=basePath%>paper/ctrladdmanychoose">
				<input type="hidden" value="${paperid}" name="paperid">

				<div class="well">
					<div class="tab-pane active in">
					<table>
					<tr><td colspan="5">paper id:${paperid}</td></tr>
						<c:forEach items="${manys}" var="item">
							<tr>
								<td colspan="3">确认 <input type="checkbox" name="checked"
									value="${item.id}">
								</td>
								<td colspan="3">item id:${item.id}</td>
								
							</tr>
							<tr>
								<td>问题</td>
								<td colspan="3">${item.question }</td>
							</tr>
							<tr>
								<td>正确答案</td>
								<td><p style="color: red;">${item.CA }</p></td>

								<td>上传者ID</td>
								<td>${item.teacherid }</td>
								<td>分数</td>
								<td>${item.point }</td>
							</tr>
							<tr>
								<td>A</td>
								<td>${item.a }</td>
								<td>B</td>
								<td>${item.b }</td>
							</tr>
							<tr>
								<td>C</td>
								<td>${item.c }</td>
								<td>D</td>
								<td>${item.d }</td>
							</tr>
						</c:forEach>
</table>
						<input type="submit" value="提交">
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>
